<template>
  <div class="sliderNav">
    <el-menu
      class="el-menu"
      background-color="rgb(10,12,15)"
      text-color="#fff"
      :router="true"
      :default-active="$route.path"
    >
      <el-menu-item index="/home">
        <i class="el-icon-setting"></i>
        <span slot="title">首页</span>
      </el-menu-item>
      <el-submenu index="1">
        <template slot="title">
          <i class="el-icon-location"></i>
          <span>财务管理</span>
        </template>
        <el-menu-item index="/oms">店铺余额</el-menu-item>
        <el-menu-item index="/shop">账户管理</el-menu-item>
        <el-menu-item index="/advWithdraw">提现</el-menu-item>
        <el-menu-item index="/record">提现记录</el-menu-item>
      </el-submenu>
    </el-menu>
  </div>
</template>

<script>
export default {
  props: {},
};
</script>

<style scoped>
.sliderNav {
  width: 240px;
  height: 100%;
  background-color: #eee;
}
.el-menu {
  height: 100%;
  width: 240px;
}
</style>
